package com.briup.bms.dao;

import com.briup.bms.bean.SWarehouse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SWarehouseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SWarehouse record);

    SWarehouse selectByPrimaryKey(Integer id);

    List<SWarehouse> selectAll();

    int updateByPrimaryKey(SWarehouse record);

    List<SWarehouse> selectByCondition(Integer id, Integer regionId, Integer managerId);

    void batchDelete(Integer[] ids);
}